#!/usr/bin/python
# -*- coding:utf-8 -*-
#@author: rui.xu <mrxurui@gmail.com>
#Filename:
import datetime
import sys

from google.appengine.ext import db

class Testdb(db.Model):
	author = db.StringProperty()
	content = db.TextProperty()
	#date = db.DateTimeProperty(auto_now_add=True)
	date = db.DateTimeProperty()

class User(db.Model):
	username = db.StringProperty(required=True)
	password = db.StringProperty(required=True)

class Article(db.Model):
	title = db.StringProperty(required=True)
	body = db.TextProperty()
	published_when = db.DateTimeProperty(auto_now_add=True)
	id = db.IntegerProperty()



